package com.itheima.mapper;

import com.github.pagehelper.Page;
import com.itheima.pojo.CheckItem;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CheckItemMapper {
    void save(CheckItem checkItem);

    Page<CheckItem> selectByCondition(@Param("queryString")String queryString);

    Integer findCountByCheckItemId(Integer checkItemId);

    void deleteById(Integer id);

    CheckItem findById(Integer id);

    void edit(CheckItem checkItem);

    List<CheckItem> findAll();
}
